package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void addDish(DishDTO dishDTO);

    void updateStatus(Integer status, Long id);

    DishVO getById(Long id);

    void updateDish(DishDTO dishDTO);

    void deleteByIds(List<Long> ids);


    List<DishVO> getDishById(Dish dish);

    List<DishVO> getDishVo(Long categoryId);
}
